<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	long pstart = System.currentTimeMillis();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>My JSP 'nomal.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

		<script>
	</script>
	</head>

	<body>
		<table border="1" width="100%" height="500">
			<caption>
				example
			</caption>
			<tr>
				<td>
					<%
						long start = System.currentTimeMillis();
						Thread.sleep(1000);
						long second = System.currentTimeMillis() - start;
					%>1秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
				<td>
					<%
						start = System.currentTimeMillis();
						Thread.sleep(2000);
						second = System.currentTimeMillis() - start;
					%>2秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
				<td>
					<%
						start = System.currentTimeMillis();
						Thread.sleep(3000);
						second = System.currentTimeMillis() - start;
					%>3秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
				<td>
					<%
						start = System.currentTimeMillis();
						Thread.sleep(4000);
						second = System.currentTimeMillis() - start;
					%>4秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
				
				<td>
					<%
						start = System.currentTimeMillis();
						Thread.sleep(5000);
						second = System.currentTimeMillis() - start;
					%>5秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
				<td>
					<%
						start = System.currentTimeMillis();
						Thread.sleep(6000);
						second = System.currentTimeMillis() - start;
					%>6秒内容
					<br>
					加载好事<%=second%>毫秒
				</td>
			</tr>
		</table>
		<%second = System.currentTimeMillis()-pstart; %>
		整个页面加载耗时：<%=second %>毫秒
	</body>
</html>
